#include "../Base/stdafx.h"
#include "MatrixVariable.h"


MatrixVariable::MatrixVariable(ID3D10EffectMatrixVariable* matVar)
{
	m_Variable = matVar;
}

MatrixVariable::~MatrixVariable()
{

}

void MatrixVariable::SetMatrix( const D3DXMATRIX& mat )
{
	m_Variable->SetMatrix((float*)&const_cast<D3DXMATRIX&>(mat));
}